﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.templates.jump
{
    public class JumpPoint
    {
	    /**
	     * Field _loc.
	     */
	    private Location _loc;
	    /**
	     * Field _nextWayId.
	     */
	    private int _nextWayId;
	
	    /**
	     * Constructor for JumpPoint.
	     * @param loc Location
	     * @param nextWayId int
	     */
	    public JumpPoint(Location loc, int nextWayId)
	    {
		    _loc = loc;
		    _nextWayId = nextWayId;
	    }
	
	    /**
	     * Method getLocation.
	     * @return Location
	     */
	    public Location getLocation()
	    {
		    return _loc;
	    }
	
	    /**
	     * Method getNextWayId.
	     * @return int
	     */
	    public int getNextWayId()
	    {
		    return _nextWayId;
	    }
    }

}
